package com.authine.cloudpivot.ext.domain.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @program: gm-market
 * @description:
 * @author: wlw
 * @create: 2021-08-10 21:15
 **/
@Data
@Schema(description = "AddCartDto")
public class AddCartDto {
    @Schema(description = "商品id")
    private String goods_id;
    @Schema(description = "添加数量")
    private Integer goods_number;
    @Schema(description = "true 添加购物车 false 立即购买")
    private Boolean flag;
    @Schema(description = "税后商品单价")
    private BigDecimal price;
    @Schema(description = "税前商品单价")
    private BigDecimal pretax_price;
    @Schema(description = "小计")
    private BigDecimal amount;
}
